﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Mate.Comment.Api.Controller.Models.Comment
{
    public class CreateCommentRequest
    {
        /// <summary>
        /// Desc:用户token
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string token { get; set; }

        /// <summary>
        /// Desc:点评的标题
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string title { get; set; }

        /// <summary>
        /// Desc:点评的详情内容
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string content { get; set; }

        /// <summary>
        /// Desc:点评的TAG，关联mp_comment_tag表的ID
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? comment_tag { get; set; }

        /// <summary>
        /// 点评类型，10商户，20商品
        /// Mate.Core.Enums.CommentTypeEnum
        /// </summary>
        public int comment_type { get; set; }

        /// <summary>
        /// Desc:关联表id，商户时mp_merchant表的ID，商品时mp_good表的id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? relateid { get; set; }

        /// <summary>
        /// Desc:总体得分，几项的平均值
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? overallscore { get; set; }

        /// <summary>
        /// Desc:口味得分
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? tastescore { get; set; }

        /// <summary>
        /// Desc:环境得分
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? enviromentscore { get; set; }

        /// <summary>
        /// Desc:服务得分
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? servicescore { get; set; }

        /// <summary>
        /// Desc:图片
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string[] imgs { get; set; }

        /// <summary>
        /// Desc:视频1地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string video_one { get; set; }

        /// <summary>
        /// Desc:人均消费
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? percost { get; set; }

        /// <summary>
        /// Desc:1 非匿名 2 匿名
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? is_anonymous { get; set; }
    }
}
